﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace RZD_maps.MapPath.ViewModels
{
    /// <summary>
    /// Interaction logic for NavigationControls.xaml
    /// </summary>
    public partial class NavigationControls : UserControl
    {
        public NavigationControls()
        {
            InitializeComponent();
        }

        /// <summary>Identifies the Map dependency property.</summary>
        public static readonly DependencyProperty MapProperty =
            DependencyProperty.Register("MapItem", typeof(Map), typeof(NavigationControls));

        /// <summary>Gets or sets the map control which will be used as a CommandTarget.</summary>
        public Map MapItem
        {
            get { 
                return (Map)GetValue(MapProperty);
            }
            set { 
                SetValue(MapProperty, value); 
            }
        }
    }
}
